package com.u2b.servlet.utils;

import javax.servlet.http.HttpServletRequest;

public class UrlInterceptor
{

    public static String intercept(HttpServletRequest req)
    {
        String uri = req.getRequestURI();
        int i = uri.lastIndexOf("/");
        return uri.subSequence(i + 1, uri.length()).toString();

    }

}
